package com.gduf.bbl.service.impl;

import com.gduf.bbl.common.utils.PageUtils;
import com.gduf.bbl.common.utils.Query;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;


import com.gduf.bbl.dao.DlServerDao;
import com.gduf.bbl.entity.DlServerEntity;
import com.gduf.bbl.service.DlServerService;


@Service("dlServerService")
public class DlServerServiceImpl extends ServiceImpl<DlServerDao, DlServerEntity> implements DlServerService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<DlServerEntity> page = this.page(
                new Query<DlServerEntity>().getPage(params),
                new QueryWrapper<DlServerEntity>()
        );

        return new PageUtils(page);
    }

}